|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AcStatus>
pow.ivyclient.AcStatus
public enum AcStatus
implements the life cycle of a drone when it is detected on the ivy bus. these steps are needed to prevent that a ivy message is processed before that all information about the drone were retrieved these status follow the steps that are followed by the module when a new drone is detected on the bus
Ivy2Udp| Enum Constant Summary | |
|---|---|
ALIVE
the module can received ivy message for this drone and send them to the server |
|
ASKING_IVY_CONF
a request about the configuration has been sent on ivy |
|
ASKING_WEB_ID
the module sends request to the web server for having a web id for the drone |
|
CONF_NOTOK
a problem occurred during the process |
|
CONF_OK
the 2 configuration files have been uploaded successfully |
|
IVY_CONF_RECEIVED
the configuration has been received from ivy |
|
UNKNOWN
the system does not know this drone, information are requested |
|
UPLOADING_CONF
the module upload the two configuration files of the drone on the server |
|
WEB_ID_RECEIVED
the drone web id has been received from the server |
|
| Method Summary | |
|---|---|
static AcStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AcStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AcStatus UNKNOWN
public static final AcStatus ASKING_IVY_CONF
public static final AcStatus IVY_CONF_RECEIVED
public static final AcStatus ASKING_WEB_ID
public static final AcStatus WEB_ID_RECEIVED
public static final AcStatus UPLOADING_CONF
public static final AcStatus CONF_OK
public static final AcStatus ALIVE
public static final AcStatus CONF_NOTOK
| Method Detail |
|---|
public static AcStatus[] values()
for (AcStatus c : AcStatus.values()) System.out.println(c);
public static AcStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||